Manager: Printing Manager
Carbon will support the high-level programming interface defined by the Printing Manager. Carbon will, however, make the following changes to your use of this interface:
* The print (TPrint) record will no longer be directly accessible to your application. In place of a print record, the Printing Manager will provide your application with a reference to an opaque data structure. Access to other Printing Manager data structures, such as the printing graphics port (TPrPort), will remain unchanged in Carbon.
* The opaque structure replacing the print record won't necessarily be 120 bytes long--your application must not assume it to be of any specific size.
* Apple will introduce new panel-based dialog boxes for printing. Your application should limit calls to the functions PrStlInit, PrJobInit, and PrDlgMain for adding items to the Page Setup and Print dialog boxes.
* Apple will make print dialog boxes movable and modal. This will require you to provide an event handler to respond to update events when your application displays these dialog boxes.
* The 68K code resource mechanism for accessing drivers will be replaced by a shared library mechanism, requiring the revision of print drivers.
* All print drivers will have to support their own spooling.
PrClose
PrClose does nothing; you don't need to call it.
PrCloseDoc
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrClosePage
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrCtlCall
To send various print requests to the printer driver, use the higher-level functions instead.
PrDlgMain
Apple will introduce new panel-based dialog boxes for printing. Your application should limit calls to PrDlgMain for adding items to the Page Setup and Print dialog boxes.
PrDrvrClose
This and other low-level Printing Manager functions aren't supported.
PrDrvrDCE
This and other low-level Printing Manager functions aren't supported.
PrDrvrOpen
This and other low-level Printing Manager functions aren't supported.
PrDrvrVers
PrError
PrGeneral
Apple will supply more specific printing functions to use in place of PrGeneral.
PrintDefault
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrJobDialog
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrJobInit
Apple will introduce new panel-based dialog boxes for printing. Your application should limit calls to PrJobInit for adding items to the Page Setup and Print dialog boxes.
PrJobMerge
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrLoadDriver
This and other low-level Printing Manager functions aren't supported.
PrNoPurge
PrOpen
PrOpen performs nothing; you don't need to call it.
PrOpenDoc
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrOpenPage
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrPicFile
This function has become obsolete. Printer drivers perform their own spooling; therefore, applications end up not calling PrPicFile.
PrPurge
PrSetError
PrStlDialog
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
PrStlInit
Apple will introduce new panel-based dialog boxes for printing. Your application should limit calls to PrStlInit for adding items to the Page Setup and Print dialog boxes.
PrValidate
In place of a print record, the Printing Manager uses a reference to an opaque, variable-length data structure.
[Table of Contents] [Function Index]
Generated on: 7/20/98. Copyright 1998 Apple Computer, Inc. All rights reserved.